function makeSalary(base, performance) {
  return base + performance
}

const s5 = 1000;
const s6 = 2000;

let A, B, C;
A = makeSalary(s5, 3000)
B = makeSalary(s6, 4000)
C = makeSalary(s5, 2000)

console.log(A, B, C);